<Ui xmlns="http://www.blizzard.com/wow/ui/">

	<!--  RazerNaga CastBar - Puts the casting bar in a movable bar -->

	<Script file="castBar.lua"/>

	<StatusBar name="RazerNagaCastingBarTemplate" drawLayer="BORDER" hidden="true" virtual="true">
		<Size x="210" y="14"/>

		<Layers>
			<Layer level="BACKGROUND">
				<Texture setAllPoints="true">
					<Color r="0" g="0" b="0" a="0.5"/>
				</Texture>
			</Layer>

			<Layer level="ARTWORK">
				<FontString name="$parentText" font="GameFontHighlight">
					<Anchors>
						<Anchor point="CENTER">
							<Offset x="0" y="0"/>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="$parentTime" font="GameFontHighlight" hidden="true">
					<Anchors>
						<Anchor point="RIGHT">
							<Offset x="-4" y="0"/>
						</Anchor>
					</Anchors>
				</FontString>

				<Texture name="$parentBorder" file="Interface\CastingBar\UI-CastingBar-Border-Small">
					<Size x="275" y="68"/>
					<Anchors>
						<Anchor point="CENTER"/>
					</Anchors>
				</Texture>

				<Texture name="$parentBorderShield" file="Interface\CastingBar\UI-CastingBar-Small-Shield" hidden="true">
					<Size>
						<AbsDimension x="275" y="68"/>
					</Size>
					<Anchors>
						<Anchor point="CENTER"/>
					</Anchors>
				</Texture>
			</Layer>

			<Layer level="OVERLAY">
				<Texture name="$parentSpark" file="Interface\CastingBar\UI-CastingBar-Spark" alphaMode="ADD">
					<Size x="32" y="32"/>
					<Anchors>
						<Anchor point="CENTER">
							<Offset x="0" y="-4"/>
						</Anchor>
					</Anchors>
				</Texture>
				<Texture name="$parentFlash" file="Interface\CastingBar\UI-CastingBar-Flash-Small" alphaMode="ADD">
					<Size x="275" y="78"/>
					<Anchors>
						<Anchor point="CENTER"/>
					</Anchors>
				</Texture>
			</Layer>
		</Layers>

		<Scripts>
			<OnLoad>
				CastingBarFrame_OnLoad(self, 'player', true)
			</OnLoad>
		</Scripts>

		<BarTexture file="Interface\TargetingFrame\UI-StatusBar"/>
		<BarColor r="1.0" g="0.7" b="0.0"/>
	</StatusBar>
</Ui>